package com.ruoyi.sports.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言对象 message
 *
 * @author ZJH
 * @date 2023-03-13
 */
public class Message extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 留言ID */
    private Long messageId;

    /** 留言标题 */
    @Excel(name = "留言标题")
    private String messageTitle;

    /** 运动类型 */
    @Excel(name = "运动类型")
    private Integer sportType;

    /** 运动时间 */
    @Excel(name = "运动时间")
    private String sportTime;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String messageContent;

    /** 回复的留言的ID */
    @Excel(name = "回复的留言的ID")
    private Long replyToMessageId;

    /** 创建者ID */
    private Long createByUserId;

    public void setMessageId(Long messageId)
    {
        this.messageId = messageId;
    }

    public Long getMessageId()
    {
        return messageId;
    }
    public void setMessageTitle(String messageTitle)
    {
        this.messageTitle = messageTitle;
    }

    public String getMessageTitle()
    {
        return messageTitle;
    }
    public void setSportType(Integer sportType)
    {
        this.sportType = sportType;
    }

    public Integer getSportType()
    {
        return sportType;
    }
    public void setSportTime(String sportTime)
    {
        this.sportTime = sportTime;
    }

    public String getSportTime()
    {
        return sportTime;
    }
    public void setMessageContent(String messageContent)
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent()
    {
        return messageContent;
    }
    public void setReplyToMessageId(Long replyToMessageId)
    {
        this.replyToMessageId = replyToMessageId;
    }

    public Long getReplyToMessageId()
    {
        return replyToMessageId;
    }
    public void setCreateByUserId(Long createByUserId)
    {
        this.createByUserId = createByUserId;
    }

    public Long getCreateByUserId()
    {
        return createByUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("messageId", getMessageId())
                .append("messageTitle", getMessageTitle())
                .append("sportType", getSportType())
                .append("sportTime", getSportTime())
                .append("messageContent", getMessageContent())
                .append("replyToMessageId", getReplyToMessageId())
                .append("createByUserId", getCreateByUserId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
